home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / packet / tf27bsrc / tf.h < prev    next >
Text File  |  1994-07-04  |  5KB  |  94 lines

  1. /**************************************************************************\
  2. *                                                                          *
  3. *                                                                          *
  4. *    *****                      *****                                      *
  5. *      *****                  *****                                        *
  6. *        *****              *****                                          *
  7. *          *****          *****                                            *
  8. *            *****      *****                                              *
  9. *              *****  *****                                                *
  10. *            *****      *****                                              *
  11. *          *****          *****          The Firmware.                     *
  12. *        *****              *****        Portable. Compatible.             *
  13. *      *****                  *****      Public Domain.                    *
  14. *    *****                      *****    By NORD><LINK.                    *
  15. *                                                                          *
  16. *                                                                          *
  17. *                                                                          *
  18. *    TF.H   -   Headerfile fuer The Firmware                               *
  19. *                                                                          *
  20. *    angelegt:      DC4OX                                                  *
  21. *    modifiziert:                                                          *
  22. *                                                                          *
  23. \**************************************************************************/
  24.  
  25.  
  26.  
  27.  
  28.  
  29. /*                                                         Festlegungen   */
  30. /**************************************************************************/
  31.  
  32. #define UTXTLEN     72        /* Anzahl Zeichen maximal im U-Text         */
  33. #define HBUFLEN     256       /* Anzahl Zeichen maximal Hosteingabebuffer */
  34.  
  35.  
  36.  
  37.                               /* "host mode response",                    */
  38.                               /* Hostmodeframe-Antworttypen :             */
  39. #define HMRSUCC     0         /*   "success"                              */
  40. #define HMRSMSG     1         /*   "success message"                      */
  41. #define HMRFMSG     2         /*   "failure message"                      */
  42. #define HMRSTAT     3         /*   "status"                               */
  43. #define HMRMONH     4         /*   "monitor header"                       */
  44. #define HMRMONIH    5         /*   "monitor I frame header"               */
  45. #define HMRMONI     6         /*   "monitor I frame"                      */
  46. #define HMRCONI     7         /*   "connected I frame"                    */
  47.  
  48.  
  49.  
  50.                               /* "host mode state",                       */
  51.                               /* Hostmode-Eingabezustaende :              */
  52. #define HMSCHNL     0         /*   naechstes Eingabebyte ist Kanal        */
  53. #define HMSCMD      1         /*   naechstes Eingabebyte ist Kommando     */
  54. #define HMSLEN      2         /*   naechstes Eingabebyte ist Laenge       */
  55. #define HMSINPUT    3         /*   naechste Eingabebytes sind Eingabetext */
  56.  
  57.  
  58.  
  59.                               /* Zpar-Flags :                             */
  60. #define FZFLOW      0x01      /*   Flow ein                               */
  61. #define FZXONOFF    0x02      /*   XON/XOFF ein                           */
  62.  
  63.  
  64.  
  65.                               /* ASCII-Kontrollzeichen :                  */
  66. #define BELL        0x07      /*   Klingel                                */
  67. #define BS          0x08      /*   Backspace                              */
  68. #define TAB         0x09      /*   Tab                                    */
  69. #define LF          0x0A      /*   Linefeed                               */
  70. #define CR          0x0D      /*   Carriage Return                        */
  71. #define CONTROLR    0x12      /*   DC2                                    */
  72. #define CONTROLU    0x15      /*   NAK                                    */
  73. #define CONTROLX    0x18      /*   CAN                                    */
  74. #define DEL         0x7F      /*   Delete                                 */
  75.  
  76.  
  77.  
  78.                               /* Messagebuffer-Anwahl :                   */
  79. #define MBINFO      0         /*   alle Info-Pakete                       */
  80. #define MBSTATUS    1         /*   alle Statuspakete                      */
  81. #define MBALL       2         /*   alle Pakete                            */
  82.  
  83.  
  84.  
  85.                               /* Flags Mpar :                             */
  86. #define MONI        0x01      /*   I                                      */
  87. #define MONU        0x02      /*   U                                      */
  88. #define MONS        0x04      /*   S                                      */
  89. #define MONC        0x08      /*   C                                      */
  90.  
  91.  
  92.  
  93. /* Ende von TF.H */
  94.